async function login() {
  const res = await userLogin("admin", "123456");
  const { accessToken, refreshToken, userInfo } = res;
  localStorage.setItem("access_token", accessToken);
  localStorage.setItem("refresh_token", refreshToken);
  localStorage.setItem("userInfo", userInfo);
}

async function getUserInfo() {
  const { data } = await [userInfo(), userInfo(), userInfo()];
  console.log(data);
//   if (data.code == "10000") {
//     alert(data.data.userName);
//   }
}
